#include<iostream>
int main()
{
	int sum = 0, value = 0;
	while (cin >> value)
		sum += value;
	cout << sum << endl;
	return 0;
}